[module/xworkspaces]
type = internal/xworkspaces

label-active = 󰪥
label-active-background = ${colors.background}
label-active-foreground = ${colors.primary}
label-active-padding = 1

label-occupied = 󰪥 
label-occupied-padding = 1
label-occupied-background = ${colors.background}
label-occupied-foreground = ${colors.foreground-alt}

label-urgent = 󰪥 
label-urgent-background = ${colors.alert}
label-urgent-padding = 1

label-empty = 
label-empty-foreground = ${colors.alert}
label-empty-padding = 1

[module/date]
type = internal/date
interval = 1

time = "%H:%M:%S"
sep = "·"


label = · %time% ·
label-foreground = ${colors.primary}
label-font = 0
; label-margin-left = 12

[module/pulseaudio]
type = internal/pulseaudio

format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%%

ramp-volume-0 =  
ramp-volume-0-foreground = ${colors.primary}
ramp-volume-1 =  
ramp-volume-1-foreground = ${colors.primary}
ramp-volume-2 =  
ramp-volume-2-foreground = ${colors.primary}

label-muted = muted
label-muted-foreground = ${colors.primary}

click-right = exec pavucontrol &

[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
blacklist-1 = caps lock

label-layout = %layout%
label-layout-foreground = ${colors.foreground}
label-layout-background = ${colors.background}
label-font = 4

format-prefix = " "
format-prefix-foreground = ${colors.primary}

[module/battery]
type = internal/battery

full-at = 100

low-at = 20

battery = BAT1
adapter = ACAD

poll-interval = 5

format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full = <ramp-capacity> <label-full>
format-low = <label-low> <animation-low>

label-charging = %percentage%%
label-discharging = %percentage%%
label-full = %percentage%%
label-low = %percentage%%

ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-3 = 
ramp-capacity-4 = 
ramp-capacity-foreground = ${colors.primary}

bar-capacity-width = 10

animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-3 = 
animation-charging-4 = 
animation-charging-framerate = 950
animation-charging-foreground = ${colors.primary}

animation-discharging-0 = 
animation-discharging-1 = 
animation-discharging-2 = 
animation-discharging-3 = 
animation-discharging-4 = 
animation-discharging-framerate = 500

animation-low-0 = !
animation-low-1 = 
animation-low-framerate = 200

[module/menu]
type = custom/text

content = ❄
content-font = 5

content-background = ${colors.background}
content-foreground = ${colors.primary}
content-padding = 1

click-left = ~/.config/i3/rofi/launcher/launcher-2.sh


[module/powermenu]
type = custom/text

; 
content = 
content-font = 5

content-background = ${colors.background}
content-foreground = ${colors.primary}
content-padding = 1

click-left = ~/.config/i3/rofi/powermenu/powermenu.sh


[module/tray]
type = custom/text

content = 💙
content-font = 5

content-background = ${colors.background}
content-foreground = ${colors.primary}
content-padding = 0

click-left = ~/.config/i3/sh/tray.sh


[module/tray-polybar]
type = custom/text

content = 💙
content-font = 5

content-background = ${colors.background}
content-foreground = ${colors.primary}
content-padding = 0

click-left = ~/.config/i3/sh/tray-show.sh


[module/sep_bar]
type = custom/text
content = |
content-foreground = ${colors.foreground}
content-background = ${colors.background}
content-font = 5
content-padding = 0
content-margin-left = 0
content-margin-right = 0
content-margin = 0

[module/sep_dot]
type = custom/text
content = ·
content-foreground = ${colors.foreground}
content-background = ${colors.background}
content-font = 5
content-padding = 0
content-margin-left = 0
content-margin-right = 0
content-margin = 0

[module/sep_clean]
type = custom/text
content = ⠀
content-foreground = ${colors.foreground}
content-background = ${colors.background}
content-font = 5
content-padding = 0
content-margin-left = 0
content-margin-right = 0
content-margin = 0
